package com.toocms.jinjuhang.ui.mine.download_section

import androidx.databinding.ObservableField
import com.toocms.tab.base.ItemViewModel
import com.toocms.tab.binding.command.BindingAction
import com.toocms.tab.binding.command.BindingCommand

class DownloadSectionItemModel(
    viewModel: DownloadSectionModel,
    val titleObservableField: ObservableField<String>,
    val itemClickBindingCommand: (BindingCommand<BindingAction>) = BindingCommand<BindingAction>(
        BindingAction {
            viewModel.startFragment(DownloadFileListFgt::class.java)
        })
) : ItemViewModel<DownloadSectionModel>(viewModel) {
}